<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<%@ include file="/include/taglibs.jsp" %>
<html>
<head>
    <%@include file="/include/header.html" %>
    <script type="text/javascript" src="${ctx}/appjs/member/memberAccount/memberAccountRecord.js"></script>
</head>

<script type="text/javascript">
    $('#topLink', window.parent.document).html(function (i, origText) {
        return'<ol class="breadcrumb">' +
            '<li class="breadcrumb-item">' +
            '<a href="">主页</a>' +
            '</li>' +
            '<li class="breadcrumb-item">' +
            '<a>财务管理</a>' +
            '</li>' +
            '<li class="breadcrumb-item">' +
            '<strong>余额变动记录</strong>' +
            '</li>' +
            '<li class="breadcrumb-item">' +
            '<a href="javascript:window.history.back()"><i class="fa fa-times"></i> 返回</a>' +
            '</li>' +
            '</ol>';
    });

    var has_add = '';
    var has_edit = '';
    var has_delete = '';
</script>

<body class="gray-bg">
<div class="wrapper wrapper-content ">
    <div class="col-sm-12">
        <div class="ibox">
            <div class="ibox-body">
                <div class="row">
                    <input id="memberId" name="memberId" value="${memberId}" type="hidden">
                    <div class="pull-left search col-md-2">
                        <select class="form-control" id="recordType" name="recordType">
                            <option value="">--记录类型--</option>
                            <option value="0">会员在线充值</option>
                            <option value="1">充电支出</option>
                            <%--<option value="2">转账收入</option>--%>
                            <%--<option value="3">转账支出</option>--%>
                            <%--<option value="4">后台订单调整</option>--%>
                            <%--<option value="5">平台赠送</option>--%>
                            <%--<option value="6">积分兑换</option>--%>
                            <%--<option value="7">回收金额</option>--%>
                            <option value="8">平台钱包充值</option>
                            <%--<option value="9">分销返利</option>--%>
                            <%--<option value="10">资源占用费</option>--%>
                            <option value="11">平台扣费</option>
                            <option value="14">后台退款</option>
                        </select>
                    </div>
                    <div class="pull-left search col-md-2">
                        <input id="startTime" name="startTime" type="text" class="form-control" readonly
                               placeholder="开始时间">
                    </div>
                    <div class="pull-left search col-md-2">
                        <input id="endTime" name="endTime" type="text" class="form-control" readonly
                               placeholder="结束时间">
                    </div>
                    <div class="pull-left search col-md-2">
                        <input id="localTradeNo" name="localTradeNo" type="text" class="form-control"
                               placeholder="本地交易单号">
                    </div>
                    <div class="pull-left search col-md-2">
                        <button class="btn btn-success" onclick="memberAccountRecord.reLoad()">查询</button>
                    </div>
                    <div class="pull-left search fr exportNumInput">
                        <input id="count" name="count" type="text" class="form-control" autocomplete="off"
                               placeholder="导出条数">
                    </div>
                    <div class="pull-left search fr">
                        <button class="btn btn-success exportBtn"
                                onclick="memberAccountRecord.exportMemberAmountRecord()">导出
                        </button>
                    </div>
                </div>
                <table id="exampleTable" data-mobile-responsive="true">
                </table>
            </div>
        </div>
    </div>
</div>

<script type="text/javascript">


    layui.use('laydate', function () {
        var laydate = layui.laydate;
        var startTime = laydate.render({
            elem: '#startTime',
            type: 'datetime',
            format: 'yyyy-MM-dd HH:mm:ss',
            trigger: 'click'
        });
        var endTime = laydate.render({
            elem: '#endTime',
            type: 'datetime',
            format: 'yyyy-MM-dd HH:mm:ss',
            trigger: 'click'
        });

    });


    memberAccountRecord.init();
</script>
</body>
</html>